package com.example.demo.service;

import com.example.demo.model.Result;
import com.example.demo.param.PaymentParam;

import java.util.Map;

public interface PayService {
    /**
     * 支付订单
     *
     * @param paymentParam 支付参数
     * @return Result
     */
    Result payOrder(PaymentParam paymentParam);

    /**
     * 支付宝回调接口
     * @param map
     * @return
     */
    Result alipaycallback(Map<String, String> map);
}
